package com.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author lzy
 * @since 2022-03-24
 */
public class Banner implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 轮播图id
     */
    private Integer id;

    /**
     * 轮播图排序
     */
    private Integer sort;

    /**
     * 轮播图图片
     */
    private String imageUrl;

    /**
     * 轮播图跳转的路由
     */
    private String toRouterUrl;

    /**
     * 轮播图跳转的地址
     */
    private String toUrl;

    /**
     * 是否删除
     */
    private Integer isDeleted;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 删除时间
     */
    private Date updateTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public String getToRouterUrl() {
        return toRouterUrl;
    }

    public void setToRouterUrl(String toRouterUrl) {
        this.toRouterUrl = toRouterUrl;
    }

    public String getToUrl() {
        return toUrl;
    }

    public void setToUrl(String toUrl) {
        this.toUrl = toUrl;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "Banner{" +
                "id=" + id +
                ", sort=" + sort +
                ", imageUrl='" + imageUrl + '\'' +
                ", toRouterUrl='" + toRouterUrl + '\'' +
                ", toUrl='" + toUrl + '\'' +
                ", isDeleted=" + isDeleted +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                '}';
    }
}
